package com.lqian.pojo;

import java.util.Date;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;



public class Depart {
	//����ID
	private Integer did;
	//��������
	private String dname;
	//����ְ��
	private String duty;
	//���Ŵ���ʱ��
	private Date credate;
	//0 正常 1删除
	private Integer dstatus;
	public Integer getDid() {
		return did;
	}
	public void setDid(Integer did) {
		this.did = did;
	}
	public String getDname() {
		return dname;
	}
	public void setDname(String dname) {
		this.dname = dname;
	}
	public String getDuty() {
		return duty;
	}
	public void setDuty(String duty) {
		this.duty = duty;
	}
	public Date getCredate() {
		return credate;
	}
	public void setCredate(Date credate) {
		this.credate = credate;
	}
	public Integer getDstatus() {
		return dstatus;
	}
	public void setDstatus(Integer dstatus) {
		this.dstatus = dstatus;
	}
	public Depart(Integer did, String dname, String duty, Date credate, Integer dstatus) {
		super();
		this.did = did;
		this.dname = dname;
		this.duty = duty;
		this.credate = credate;
		this.dstatus = dstatus;
	}
	public Depart() {
		super();
	}
	@Override
	public String toString() {
		return "Depart [did=" + did + ", dname=" + dname + ", duty=" + duty + ", credate=" + credate + ", dstatus="
				+ dstatus + "]";
	}
	
	
}
